home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zoom 2
/
Zoom - Release 2 (1996)(Active Software)[!].iso
/
texts
/
dosman121
/
man
/
version
< prev
next >
Wrap
Text File
|
1995-04-04
|
3KB
|
83 lines
Version(V1.3, 2.x, 3.x in C:)
NAME
Version - Report version numbers of current system software.
SYNOPSIS
1.3:
Version [libraryname or devicename] [versionnum] [revisionnum]
[unitnum]
2.x/3.x:
Version [libraryname or devicename or filename] [version_num]
[revision_num] [unit_num] [FILE] [INTERNAL] [RES]
[FULL]
DESCRIPTION
By default, Version reports the current versions of
Kickstart, Workbench and arp.library in use on your
Amiga. This is the same as using the Workbench menu
selection "About...". If you specify a name (which may
be a library or a device), Version attempts to find out
which version the system will use when accessed.
OPTIONS
libraryname or devicename or filename
The complete path and name of the library, device, or
file whose version you want to check. You can only check
file version numbers under 2.x/3.x. If you don't specify
this keyword, the Version number of the kickstart and
Workbench will show up.
Version_Num
Accepts a numeric argument. If the version of the
library or device in question is not the same as this
argument, the return code will be set to WARN.
Revision_Num
Like VERSION, but checks the revision number of the
specified library or device.
Unit_num
Useful only with some devices, to access a unit other
than zero.
RES
This lets you find the version number of a resident
command.
Full
Allows version to print out the entire versin string,
including the date.
EXAMPLE
1. To get the complete version of the Kickstart and
Workbench disks used:
Version
(This is what it will return:)
Kickstart version 33.180. Workbench version 33.44. ARP
version 39.1
Note that the above values may be different depending on
what versions of each software you are running.
2. To check to see if the version of ReqTools is greater
than 37. Print a warning if it isn't:
Version >Nil: ReqTools.library Version=37 Revision=35
IF Warn
ECHO "ReqTools library version below 37."
ENDIF
1.3 CAUTION!!!
You should not run VERSION indiscriminately on files
which are not in the libs: or devs: directories, or your
system may GURU.